package cn.com.codes.object;

import java.util.Date;

import cn.com.codes.framework.transmission.JsonInterface;


public class ApiInterface implements JsonInterface {

	/**  
	* 字段:      字段名称
	* @Fields serialVersionUID : TODO 
	*/
	private static final long serialVersionUID = 1L;
	private String interfaceId;
	private String taskId;
	private Long moduleId;
	private String moduleNum;
	private String interfaceName;
	private String description;
	private String url;
	private String protocol;
	private String encodeFormat;
	private String requestMethod;
	private String dataType;
	private String contentType;
	private String requestHeaders;
	private String requestArgs;
	private String requestBody;
	private String requestArgsJson;
	private String responseHeaders;
	private String responseArgs;
	private String validExpress;
	private Integer status;
	private String responseMock;
	private String excelUrl;
	private Integer execSuccessCnt;
	private Integer execFailCnt;
	private String authorName;
	private Date createTime;
	private Date updateTime;
	
	private String assertId;
	private String oneFlag;
	
	private String tempHeaders;//临时请求头
	private String tempArgs;//临时请求参数
	private String tempJson;//临时请求json
	
	public ApiInterface() {
	}

	/**  
	* <p>Title: </p> 
	* <p>Description: </p> 
	* @param taskId 
	*/
	public ApiInterface(String taskId) {
		super();
		this.taskId = taskId;
	}

	/**  
	* <p>Title: </p> 
	* <p>Description: </p> 
	* @param interfaceId
	* @param interfaceName
	* @param description
	* @param url
	* @param protocol
	* @param encodeFormat
	* @param requestMethod
	* @param dataType
	* @param contentType
	* @param validExpress
	* @param status
	* @param excelUrl
	* @param execSuccessCnt
	* @param execFailCnt
	* @param authorName
	* @param createTime
	* @param updateTime 
	*/
	public ApiInterface(String interfaceId, String interfaceName, String description, String url, String protocol,
			String encodeFormat, String requestMethod, String dataType, String contentType, String validExpress,
			Integer status, String excelUrl, Integer execSuccessCnt, Integer execFailCnt, String authorName,
			Date createTime, Date updateTime) {
		super();
		this.interfaceId = interfaceId;
		this.interfaceName = interfaceName;
		this.description = description;
		this.url = url;
		this.protocol = protocol;
		this.encodeFormat = encodeFormat;
		this.requestMethod = requestMethod;
		this.dataType = dataType;
		this.contentType = contentType;
		this.validExpress = validExpress;
		this.status = status;
		this.excelUrl = excelUrl;
		this.execSuccessCnt = execSuccessCnt;
		this.execFailCnt = execFailCnt;
		this.authorName = authorName;
		this.createTime = createTime;
		this.updateTime = updateTime;
	}

	/**  
	* @return interfaceId 
	*/
	public String getInterfaceId() {
		return interfaceId;
	}

	/**  
	* @param interfaceId interfaceId 
	*/
	public void setInterfaceId(String interfaceId) {
		this.interfaceId = interfaceId;
	}

	/**  
	* @return taskId 
	*/
	public String getTaskId() {
		return taskId;
	}

	/**  
	* @param taskId taskId 
	*/
	public void setTaskId(String taskId) {
		this.taskId = taskId;
	}

	/**  
	* @return moduleId 
	*/
	public Long getModuleId() {
		return moduleId;
	}

	/**  
	* @param moduleId moduleId 
	*/
	public void setModuleId(Long moduleId) {
		this.moduleId = moduleId;
	}

	/**  
	* @return moduleNum 
	*/
	public String getModuleNum() {
		return moduleNum;
	}

	/**  
	* @param moduleNum moduleNum 
	*/
	public void setModuleNum(String moduleNum) {
		this.moduleNum = moduleNum;
	}

	/**  
	* @return interfaceName 
	*/
	public String getInterfaceName() {
		return interfaceName;
	}

	/**  
	* @param interfaceName interfaceName 
	*/
	public void setInterfaceName(String interfaceName) {
		this.interfaceName = interfaceName;
	}

	/**  
	* @return description 
	*/
	public String getDescription() {
		return description;
	}

	/**  
	* @param description description 
	*/
	public void setDescription(String description) {
		this.description = description;
	}

	/**  
	* @return url 
	*/
	public String getUrl() {
		return url;
	}

	/**  
	* @param url url 
	*/
	public void setUrl(String url) {
		this.url = url;
	}

	/**  
	* @return protocol 
	*/
	public String getProtocol() {
		return protocol;
	}

	/**  
	* @param protocol protocol 
	*/
	public void setProtocol(String protocol) {
		this.protocol = protocol;
	}

	/**  
	* @return encodeFormat 
	*/
	public String getEncodeFormat() {
		return encodeFormat;
	}

	/**  
	* @param encodeFormat encodeFormat 
	*/
	public void setEncodeFormat(String encodeFormat) {
		this.encodeFormat = encodeFormat;
	}

	/**  
	* @return requestMethod 
	*/
	public String getRequestMethod() {
		return requestMethod;
	}

	/**  
	* @param requestMethod requestMethod 
	*/
	public void setRequestMethod(String requestMethod) {
		this.requestMethod = requestMethod;
	}

	/**  
	* @return dataType 
	*/
	public String getDataType() {
		return dataType;
	}

	/**  
	* @param dataType dataType 
	*/
	public void setDataType(String dataType) {
		this.dataType = dataType;
	}

	/**  
	* @return contentType 
	*/
	public String getContentType() {
		return contentType;
	}

	/**  
	* @param contentType contentType 
	*/
	public void setContentType(String contentType) {
		this.contentType = contentType;
	}

	/**  
	* @return requestHeaders 
	*/
	public String getRequestHeaders() {
		return requestHeaders;
	}

	/**  
	* @param requestHeaders requestHeaders 
	*/
	public void setRequestHeaders(String requestHeaders) {
		this.requestHeaders = requestHeaders;
	}

	/**  
	* @return requestArgs 
	*/
	public String getRequestArgs() {
		return requestArgs;
	}

	/**  
	* @param requestArgs requestArgs 
	*/
	public void setRequestArgs(String requestArgs) {
		this.requestArgs = requestArgs;
	}

	/**  
	* @return requestBody 
	*/
	public String getRequestBody() {
		return requestBody;
	}

	/**  
	* @param requestBody requestBody 
	*/
	public void setRequestBody(String requestBody) {
		this.requestBody = requestBody;
	}

	/**  
	* @return requestArgsJson 
	*/
	public String getRequestArgsJson() {
		return requestArgsJson;
	}

	/**  
	* @param requestArgsJson requestArgsJson 
	*/
	public void setRequestArgsJson(String requestArgsJson) {
		this.requestArgsJson = requestArgsJson;
	}

	/**  
	* @return responseHeaders 
	*/
	public String getResponseHeaders() {
		return responseHeaders;
	}

	/**  
	* @param responseHeaders responseHeaders 
	*/
	public void setResponseHeaders(String responseHeaders) {
		this.responseHeaders = responseHeaders;
	}

	/**  
	* @return responseArgs 
	*/
	public String getResponseArgs() {
		return responseArgs;
	}

	/**  
	* @param responseArgs responseArgs 
	*/
	public void setResponseArgs(String responseArgs) {
		this.responseArgs = responseArgs;
	}

	/**  
	* @return validExpress 
	*/
	public String getValidExpress() {
		return validExpress;
	}

	/**  
	* @param validExpress validExpress 
	*/
	public void setValidExpress(String validExpress) {
		this.validExpress = validExpress;
	}

	/**  
	* @return status 
	*/
	public Integer getStatus() {
		return status;
	}

	/**  
	* @param status status 
	*/
	public void setStatus(Integer status) {
		this.status = status;
	}

	/**  
	* @return responseMock 
	*/
	public String getResponseMock() {
		return responseMock;
	}

	/**  
	* @param responseMock responseMock 
	*/
	public void setResponseMock(String responseMock) {
		this.responseMock = responseMock;
	}

	/**  
	* @return excelUrl 
	*/
	public String getExcelUrl() {
		return excelUrl;
	}

	/**  
	* @param excelUrl excelUrl 
	*/
	public void setExcelUrl(String excelUrl) {
		this.excelUrl = excelUrl;
	}

	/**  
	* @return execSuccessCnt 
	*/
	public Integer getExecSuccessCnt() {
		return execSuccessCnt;
	}

	/**  
	* @param execSuccessCnt execSuccessCnt 
	*/
	public void setExecSuccessCnt(Integer execSuccessCnt) {
		this.execSuccessCnt = execSuccessCnt;
	}

	/**  
	* @return execFailCnt 
	*/
	public Integer getExecFailCnt() {
		return execFailCnt;
	}

	/**  
	* @param execFailCnt execFailCnt 
	*/
	public void setExecFailCnt(Integer execFailCnt) {
		this.execFailCnt = execFailCnt;
	}

	/**  
	* @return authorName 
	*/
	public String getAuthorName() {
		return authorName;
	}

	/**  
	* @param authorName authorName 
	*/
	public void setAuthorName(String authorName) {
		this.authorName = authorName;
	}

	/**  
	* @return createTime 
	*/
	public Date getCreateTime() {
		return createTime;
	}

	/**  
	* @param createTime createTime 
	*/
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	/**  
	* @return updateTime 
	*/
	public Date getUpdateTime() {
		return updateTime;
	}

	/**  
	* @param updateTime updateTime 
	*/
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	
	public String getAssertId() {
		return assertId;
	}

	public void setAssertId(String assertId) {
		this.assertId = assertId;
	}
	
	public String getOneFlag() {
		return oneFlag;
	}

	public void setOneFlag(String oneFlag) {
		this.oneFlag = oneFlag;
	}

	public String getTempHeaders() {
		return tempHeaders;
	}

	public void setTempHeaders(String tempHeaders) {
		this.tempHeaders = tempHeaders;
	}

	public String getTempArgs() {
		return tempArgs;
	}

	public void setTempArgs(String tempArgs) {
		this.tempArgs = tempArgs;
	}

	public String getTempJson() {
		return tempJson;
	}

	public void setTempJson(String tempJson) {
		this.tempJson = tempJson;
	}

	@Override
	public String toStrUpdateInit() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public String toStrList() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public String toStrUpdateRest() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public void toString(StringBuffer bf) {
		// TODO Auto-generated method stub
		
	}
}
